Wdr\App\Helpers\Woocommerce D

Total Complexity 435
Dependencies 5
Dependents 16
Total lines 1,858
Lines of code 1,061
Logical lines of code 568
Comment lines 559
Methods 114
Properties 5

Methods 114

Method Rating Maintainability Complexity Lines of code
getAllAvailableAttributeDetails()
A
50 12 26
getCartSubtotal()
A
52 10 23
getBillingEmailFromPost()
A
54 10 21
getCart()
A
56 9 18
removeSpecificNoticeFromSession()
A
55 8 20
addCartFee()
S
54 7 20
isProductInSale()
S
60 7 13
getProductId()
S
58 6 16
availableProductVariations()
S
59 6 14
getOrderItemsQty()
S
54 5 22
getProductsBySku()
S
58 5 17
isCartNeedsShipping()
S
63 6 10
remove_cart_item()
S
63 6 10
get_shipping_packages()
S
64 6 10
add_to_cart()
S
62 6 10
set_quantity()
S
63 6 10
getAppliedCoupons()
S
63 6 10
remove_coupon()
S
63 6 10
getSession()
S
63 6 10
setSession()
S
64 6 9
calculateCartTotals()
S
65 6 9
getExcludingTaxPrice()
S
59 5 14
getIncludingTaxPrice()
S
59 5 14
getProductCategories()
S
60 5 13
getProductIdFromCartItem()
S
61 5 12
getCartLineItemSubtotal()
S
61 5 11
getProductSalePrice()
S
62 5 11
getProductParentId()
S
62 5 11
getTitleOfProduct()
S
54 4 20
getShippingCity()
S
66 5 8
getBillingCity()
S
66 5 8
getShippingZipCode()
S
66 5 8
getStatesList()
S
66 5 8
getCountriesList()
S
66 5 8
getItemId()
S
64 5 10
getShippingState()
S
66 5 8
getShippingCountry()
S
66 5 8
getOrdersByConditions()
S
58 3 16
getCustomProductTaxonomies()
S
58 3 16
productTypeIs()
S
68 4 7
isProductHasStock()
S
69 4 6
getPaymentMethodList()
S
67 4 8
getProductChildren()
S
68 4 7
get_variation_regular_price()
S
67 4 7
getPriceHtml()
S
66 4 8
getWeight()
S
67 4 8
getProductPriceSuffix()
S
67 4 7
getProductFromCartItem()
S
63 4 10
getProductRegularPrice()
S
66 4 8
variationIsVisible()
S
67 4 8
getProductPrice()
S
66 4 8
getProductSku()
S
68 4 7
getProductTags()
S
68 4 7
getProductAttributes()
S
68 4 7
setOrderMeta()
S
63 4 10
validateDynamicCoupon()
S
59 3 14
getCheckOutPostData()
S
61 3 12
checkCouponAlreadyExistsInWooCommerce()
S
62 3 11
getOrderCurrency()
S
70 3 6
getOrderItems()
S
70 3 6
getOrderTotal()
S
70 3 6
isRTLEnable()
S
71 3 6
setOrderItemMeta()
S
69 3 6
getOrderItemMeta()
S
70 3 6
getOrderItemsId()
S
64 3 10
getCategorySlugByID()
S
67 3 7
getOrderPostType()
S
67 3 9
getOrderByItem()
S
70 3 6
orderHasShippingMethod()
S
70 3 6
getOrder()
S
67 3 9
getCartTotalQuantities()
S
63 3 10
getOrderItemData()
S
70 3 6
getAttributeOption()
S
70 3 6
getRole()
S
70 3 6
setCartProductPrice()
S
70 3 6
getVariationPrices()
S
70 3 6
getAttributeName()
S
70 3 6
getProduct()
S
64 3 9
getCouponCode()
S
70 3 6
addCouponDiscount()
S
70 3 6
hasCouponInCart()
S
70 3 6
getCartItems()
S
68 3 7
is_ajax()
S
67 3 8
getAttributeVariation()
S
70 3 6
getBannerPositionList()
S
50 1 28
printNotice()
S
73 2 5
wc_get_formatted_variation()
S
68 2 7
formatSalePrice()
S
70 2 6
wc_format_decimal()
S
70 2 6
formatPriceRange()
S
66 2 8
formatPrice()
S
71 2 6
get_currency_symbol()
S
72 2 6
removeHtmlTags()
S
67 2 8
formatStringToUpper()
S
69 2 7
formatStringToLower()
S
69 2 7
getParentProduct()
S
68 2 7
round()
S
68 2 7
setLoopProperties()
S
71 2 6
productLoopEnd()
S
71 2 6
getUserRolesList()
S
70 2 7
getOrderStatusList()
S
72 2 6
isEnteredPriceIncludeTax()
S
69 2 7
getTagSlugByID()
S
66 2 8
getTermSlugByID()
S
66 2 8
isTaxEnabled()
S
69 2 7
getOnSaleProductsIds()
S
69 2 7
getWooPluginUrl()
S
72 2 6
wc_add_notice()
S
72 2 5
productLoopStart()
S
71 2 6
getWeekDaysList()
S
62 1 11
displayTableIfAnyOneVariantHasDiscount()
S
79 1 3
getUserSelectedPaymentMethod()
S
79 1 3
reCalculateCartTotal()
S
72 1 5
getConvertedFixedPrice()
S
79 1 3